import VueRouter from 'vue-router'
import Vue from 'vue'
import AAAA from '@/views/AAAA.vue'
import BBBB from '@/views/BBBB.vue'
import CCCC from '@/views/CCCC.vue'
import DDDD from '@/views/DDDD.vue'
import EEEE from '@/views/EEEE.vue'
import FFFF from '@/views/FFFF.vue'
import GGGG from '@/views/GGGG.vue'
Vue.use(VueRouter)
const router = new VueRouter({
  routes: [
    {
      path: '/AAAA',
      component: AAAA,
      children: [
        {
          path: 'EEEE',
          component: EEEE,
          name: 'EEEE',
        },
        {
          path: 'FFFF',
          component: FFFF,
          name: 'FFFF',
        },
        {
          path: 'GGGG',
          component: GGGG,
          name: 'GGGG',
        },
      ],
    },
    {
      path: '/BBBB',
      component: BBBB,
    },
    {
      path: '/CCCC',
      component: CCCC,
    },
    {
      path: '/DDDD',
      component: DDDD,
    },
  ],
})
export default router
